﻿using System;
using System.Collections.Generic;
namespace Mobwiz.SpellChecker.Core
{
    public interface ISpellDictionary : IDisposable
    {
        void AddWord(string phonetCode, string word);
        System.Collections.Generic.IEnumerable<string> GetWordsByCode(string phonetCode);
        void LoadDictionary(string dictPath);
        void LoadDictionary(Dictionary<string, List<string>> dictSet);
        void SaveDictionary(string dictPath);
    }
}
